package com.jdj.framework.dao.mybatis.entity.condition;

import com.jdj.framework.core.base.vo.PageInfo;
import com.jdj.framework.dao.mybatis.entity.BaseEntity;
import java.io.Serializable;

/**
 * 实体条件 父类
 * @author caijinbang
 * @date 2019-04-14 12:50
 */
public abstract class BaseEntityCondition implements Serializable {

    /**
     *
     */
    private static final long serialVersionUID = 5028943133819724287L;

    /**
     * 权限SQL
     */
    private String authCondition;

    protected PageInfo page;

    public void setPage(PageInfo page) {
        this.page = page;
    }

    public PageInfo getPage() {
        return page;
    }

    public String getAuthCondition() {
        return authCondition;
    }

    public void setAuthCondition(String authCondition) {
        this.authCondition = authCondition;
    }

    /**
     * 获取实体类
     * @return entity class
     */
    public abstract Class<? extends BaseEntity> getEntityClass();
}

